<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>My JSP 'Brand.jsp' starting page</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0"> 
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<link type="text/css" rel="stylesheet"
	href="/EasyBuy/statics/css/style.css" />

<script type="text/javascript"
	src="/EasyBuy/statics/js/jquery-1.11.1.min_044d0927.js"></script>
<script type="text/javascript"
	src="/EasyBuy/statics/js/jquery.bxslider_e88acd1b.js"></script>

<script type="text/javascript"
	src="/EasyBuy/statics/js/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="/EasyBuy/statics/js/menu.js"></script>

<script type="text/javascript" src="/EasyBuy/statics/js/lrscroll_1.js"></script>


<script type="text/javascript" src="/EasyBuy/statics/js/n_nav.js"></script>
<script type="text/javascript" src="/EasyBuy/statics/js/milk_ban.js"></script>
<script type="text/javascript" src="/EasyBuy/statics/js/paper_ban.js"></script>
<script type="text/javascript" src="/EasyBuy/statics/js/baby_ban.js"></script>

</head>
<script type="text/javascript"
		src="/EasyBuy/statics/js/jquery-1.4.2.min.js"></script>
<script type="text/javascript">
	$(document).ready(function(){
		function hideType(){
			$(".leftNav").hide();
		}
		hideType();
		$(".pin").click(function(){
			var id=$(this).attr("title");
			location.href="BrandServlet?opr=brandIdLists&id="+id;
		});
	});
</script>
<body>
<c:if test="${list1==null }">
	<%
		request.getRequestDispatcher("/IndexServlet?opr=type&hre=Brand").forward(request, response);
	 %>
</c:if>
	<!-- 头部 -->

	<%@ include file="../../common/header.jsp"%>
	<%@ include file="../../common/preHeader.jsp"%>
	<!--Begin Header Begin-->


	<!--End Menu End-->
	<div class="i_bg">
		<div class="postion">
			<span class="fl">全部 > 美妆个护 > 香水 > 香奈儿</span>
		</div>
		<div class="content mar_20">
			<!-- 引入浏览历史页面 -->
			<%@ include file="../../common/CategorySide.jsp"%>	
			
			<div class="l_list">
				<div class="brand_t">所有品牌</div>
				<div class="list_c">

					<ul class="brand">
						<c:forEach items="${brandLists }" var="brandList">
							<li title="${brandList.brand_id }" class="pin">
								<div class="img">
									<img src="/EasyBuy/statics/images/${brandList.brand_url }" width="226"
										height="108" />
								</div>
								<div class="name">
									<span>${brandList.brand_name }</span>（${brandList.brandProducts }）
								</div>
							</li>
						</c:forEach>
					</ul>
					<div class="pages">
						<a class="p_pre">上一页</a><a class="cur">1</a><a
							class="p_pre">下一页</a>
					</div>
				</div>
			</div>
		</div>
		<!--End 猜你喜欢 End-->
		<%@ include file="../../common/footer.jsp"%>
		<!-- 脚部 -->
	</div>
</body>

</html>
